package com.hospital.service;

import java.util.List;

import com.hospital.exception.TradeErrorException;
import com.hospital.pojo.Doctor;

/**
 * 医生接口操作规范
 *
 * @author wxd
 */
public interface DoctorService {

    /**
     * 获取相关科室医生列表信息
     * @param departmentCode 科室代码
     *
     * @return
     */
    List<Doctor> queryDoctor(String departmentCode) throws TradeErrorException;

    /**
     * 获取医院中的所有医生列表
     *
     * @return
     */
    List<Doctor> queryAllDoctor() throws TradeErrorException;


    /**
     * 通过医生编码获取唯一医生信息
     *
     * @param departmentCode 科室编码
     * @param doctorCode     医生编码
     * @return
     */
    Doctor queryDoctorByCode(String departmentCode, String doctorCode) throws TradeErrorException;


}
